all:client server

server:dict_server.cc
	g++ -o $@ $^ -std=c++11 -I ../include -L ../lib -lmuduo_net -lmuduo_base -lpthread
client:dict_client.cc
	g++ -o $@ $^ -std=c++11 -I ../include -L ../lib -lmuduo_net -lmuduo_base -lpthread 

.PHONY:clean
clean:
	rm -rf server client